package com.qs.auto.bean;

import java.io.Serializable;

public class CarBean implements Serializable{
	private static final long serialVersionUID = 1L;
	private String name;
	private long id;
	private int year;
	private String brand;
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public int getYear() {
		return year;
	}
	public void setYear(int year) {
		this.year = year;
	}
	public String getBrand() {
		return brand;
	}
	public void setBrand(String brand) {
		this.brand = brand;
	}
	public CarBean(String name, long id, int year, String brand) {
		super();
		this.name = name;
		this.id = id;
		this.year = year;
		this.brand = brand;
	}
}
